{include file="header.html"}
<div> 
{include file='ymdian_product/nav.html'}
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
   <td>夜猫店</td>
   <td>产品名称</td>
   <td>拍下</td>
  
   <td>添加时间</td>
   <td>状态</td>
   <td>分类</td>
   <td>total_num</td>
   <td>buy_num</td>
<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.id}</td>
   <td>{$c.shopname}</td>
   <td>{$c.title}</td>
   <td>{$c.orderindex}</td>
    
   <td>{$c.dateline|date:Y-m-d}</td>
   <td>{$c.status}</td>
   <td>{$c.catid}</td>
   <td>{$c.total_num}</td>
   <td>{$c.buy_num}</td>
<td><a href="{$appadmin}?m=ymdian_product&a=add&id={$c.id}">编辑</a> <a href="/index.php?m=ymdian_product&a=show&id={$c.id}" target="_blank">查看</a> <a href="javascript:;" class="delete" url="{$appadmin}?m=ymdian_product&a=delete&id={$c.id}">删除</a></td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div> 
{include file="footer.html"}